﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HiLand.Framework.FoundationLayer;
using HiLand.Framework.FoundationLayer.Attributes;

namespace GBFinance.Entity
{
    public class SecuredPropertyEntity : BaseModel<SecuredPropertyEntity>
    {
        public override string[] BusinessKeyNames
        {
            get { return new string[] { "ItemGuid" }; }
        }
        #region entity information


        private int itemID;
        public int ItemID
        {
            get { return itemID; }
            set { itemID = value; }
        }

        private Guid itemGuid = Guid.Empty;
         [DBFieldAttribute(IsBusinessPrimaryKey = true)]
        public Guid ItemGuid
        {
            get { return itemGuid; }
            set { itemGuid = value; }
        }

        private string itemName = String.Empty;
        public string ItemName
        {
            get { return itemName; }
            set { itemName = value; }
        }

        private int itemNo;
        public int ItemNo
        {
            get { return itemNo; }
            set { itemNo = value; }
        }

        private int itemKind;
        public int ItemKind
        {
            get { return itemKind; }
            set { itemKind = value; }
        }

        private int itemType;
        public int ItemType
        {
            get { return itemType; }
            set { itemType = value; }
        }

        private string itemDetail = String.Empty;
        public string ItemDetail
        {
            get { return itemDetail; }
            set { itemDetail = value; }
        }

        private decimal itemValue;
        public decimal ItemValue
        {
            get { return itemValue; }
            set { itemValue = value; }
        }

        private string itemOwerName = String.Empty;
        public string ItemOwerName
        {
            get { return itemOwerName; }
            set { itemOwerName = value; }
        }

        private Guid userGuid = Guid.Empty;
        public Guid UserGuid
        {
            get { return userGuid; }
            set { userGuid = value; }
        }
        #endregion
    }
}